﻿using System;
using LuaInterface;
using SLua;
using System.Collections.Generic;
public class Lua_Hugula_CodeVersion : LuaObject {
	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
	static public int constructor(IntPtr l) {
		try {
			Hugula.CodeVersion o;
			o=new Hugula.CodeVersion();
			pushValue(l,true);
			pushValue(l,o);
			return 2;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
	[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
	static public int get_CODE_VERSION(IntPtr l) {
		try {
			pushValue(l,true);
			pushValue(l,Hugula.CodeVersion.CODE_VERSION);
			return 2;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
	static public void reg(IntPtr l) {
		getTypeTable(l,"Hugula.CodeVersion");
		addMember(l,"CODE_VERSION",get_CODE_VERSION,null,false);
		createTypeMetatable(l,constructor, typeof(Hugula.CodeVersion));
	}
}
